package com.fqy.gmall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * User: fqy
 * Date: 2021/9/7
 * Time: 21:01
 * Describe:
 */
@SpringBootApplication
@ComponentScan("com.fqy.gmall")
@EnableDiscoveryClient
@EnableSwagger2
public class ServiceProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceProductApplication.class, args);
    }
}
